package com.verification.com.verification;

import com.library.verification.manager.VerificationManager;

/**
 * Created by zhoulikai on 17/4/24.
 */

public class VerificationParameter implements VerificationManager.VerificationManagerParameter {

    private int type;
    private int style;

    public VerificationParameter(int type, int style) {
        this.type = (type == 0 ? VERIFICATION_IMAGE_TYPE : VERIFICATION_DRAG_TYPE);
        this.style = (style == 0 ? VERIFICATION_POP_STYLE : VERIFICATION_CURRENT_PAGE_STYLE);

    }

    @Override
    public int getVerificationType() {
        return this.type;
    }

    @Override
    public int showStyle() {
        return this.style;
    }

    @Override
    public boolean isInsideTextTip() {
        return true;
    }
}
